const util = require("util");
const fs = require("fs");
let myReadFile = util.promisify(fs.readFile);

myReadFile("./resources/content.txt").then(value => {
    console.log(value.toString());
}, err => {
});